package com.sright.bcard.enterprise.biz.manager;

import com.sright.bcard.common.service.share.dto.LoginUser;
import com.sright.bcard.common.service.share.dto.pager.Pager;
import com.sright.bcard.common.service.share.dto.enterprise.EnterpriseDTO;
import com.sright.bcard.common.service.share.dto.enterprise.EnterpriseMemberDTO;
import com.sright.bcard.common.service.share.dto.request.CreateAccountParam;
import com.sright.bcard.enterprise.share.request.UpdateEnterpriseParam;

import java.text.ParseException;
import java.util.List;

public interface EnterpriseManager {

    EnterpriseDTO getEnterpriseDTO(Long enterpriseId);

    EnterpriseDTO getEnterprise(LoginUser loginUser);

    Boolean updateEnterpriseInfo(UpdateEnterpriseParam param);

    EnterpriseDTO enterpriseInfo(Long enterpriseId);

    List<EnterpriseDTO> getEnterpriseList();

    Boolean updateEnterprise(EnterpriseDTO enterpriseDTO) throws ParseException;

    Pager<EnterpriseMemberDTO> enterpriseMember(Integer page, Integer pageSize, String keywords,Long enterpriseId);

    void pushExpireEnterprise();

    Integer onStatus(EnterpriseDTO enterpriseDTO);

    void pushEnterpriseOpen();

    void createAccount(CreateAccountParam param);
}
